import Combine
import SwiftUI

@MainActor
struct DemoHomeView:View {
    
    @StateObject
    private var coordinator = AppCoordinator()
    
    var body: some View {
        TabView {
          coordinator.makeMoviesView()
            .tag(AppCoordinator.Tab.movies)

          coordinator.makeAnimeView()
            .tag(AppCoordinator.Tab.anime)
        }
    }
}



#Preview {
    DemoHomeView()
}
